package com.topfinance.payment.service;

import java.util.List;

import com.topfinance.frame.exception.AppException;
import com.topfinance.payment.ebo.TCfgFmtEleMapFileEbo;
import com.topfinance.payment.ebo.TCfgFmtEleMapRuleEbo;

public interface ITCfgFmtEleMapMgr {
	
	//根据报文号、业务类型号、业务种类号条件映射定义
	public List<TCfgFmtEleMapFileEbo> getAllFmtEleMap(Integer fmtID,String msg,String tpCode,String clsCode) throws AppException;

	//根据mapID获得映射规则定义
	public List<TCfgFmtEleMapRuleEbo> getAllFmtEleMap(Integer fmtID) throws AppException;
	
	//保持新定义的
	public void saveMapRule(TCfgFmtEleMapFileEbo rule, List<Integer> detailsToDelete) throws AppException;
	
	//获得rule
	public TCfgFmtEleMapFileEbo getMapRule(Integer fmtID,String msgCode, String tpCode, String clsCode) throws AppException;
}
